package com.huazhen.itrip.biz.service.areadic;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huazhen.itrip.beans.pojo.ItripAreaDic;
import com.huazhen.itrip.dao.areadic.ItripAreaDicMapper;
@Service("ItripAreaDicService")
public class ItripAreaDicServiceImpl implements ItripAreaDicService {
	@Autowired
	private ItripAreaDicMapper itripAreaDicMapper;
	@Override
	public ItripAreaDic getItripAreaDicById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.getItripAreaDicById(id);
	}

	@Override
	public List<ItripAreaDic> getItripAreaDicListByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.getItripAreaDicListByMap(param);
	}

	@Override
	public Integer getItripAreaDicCountByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.getItripAreaDicCountByMap(param);
	}

	@Override
	public Integer insertItripAreaDic(ItripAreaDic itripAreaDic) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.insertItripAreaDic(itripAreaDic);
	}

	@Override
	public Integer updateItripAreaDic(ItripAreaDic itripAreaDic) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.updateItripAreaDic(itripAreaDic);
	}

	@Override
	public Integer deleteItripAreaDicById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripAreaDicMapper.deleteItripAreaDicById(id);
	}

}
